package com.deram.ctin.common.vo;

import java.util.Objects;

/**
 * @author zhangcm
 * @version 1.0, 2017/9/28
 */
public class GexfNodeVo {

    private String id;
    private String label;
    private String attvalue;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        GexfNodeVo nodeVo = (GexfNodeVo) o;
        return Objects.equals(id, nodeVo.id);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id);
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getAttvalue() {
        return attvalue;
    }

    public void setAttvalue(String attvalue) {
        this.attvalue = attvalue;
    }
}
